<?xml version="1.0" encoding="utf-8"?> 
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" 
xmlns:msxsl="urn:schemas-microsoft-com:xslt" exclude-result-prefixes="msxsl">
<xsl:output method="xml" indent="yes"/>
<xsl:template match="/status">
<entity source="twitter" crm_entity="msa_snstatus" source_object="statuses">
  <record crm_id="{0}">
    <attrib crm_name="msa_sntext" crm_type="StringProperty">
      <xsl:value-of select ="text/text()"/>
    </attrib>
    <attrib crm_name="msa_snid" crm_type="StringProperty">
      <xsl:value-of select ="id/text()"/>
    </attrib>
    <attrib crm_name="msa_snin_reply_to_status_id" crm_type="StringProperty">
      <xsl:value-of select ="in_reply_to_status_id/text()"/>
    </attrib>
    <attrib crm_name="msa_snin_reply_to_user_id" crm_type="StringProperty">
      <xsl:value-of select ="in_reply_to_user_id/text()"/>
    </attrib>
    <attrib crm_name="msa_sncreated_at" crm_type="CrmDateTimeProperty">
      <xsl:value-of select="created_at/text()"/>
    </attrib>
    <attrib crm_name="msa_snfollowers_count" crm_type="CrmNumberProperty">
      <xsl:value-of select="user/followers_count/text()"/>
    </attrib>
  </record>
 </entity>
</xsl:template>
</xsl:stylesheet>